package cn.edu.scnu.semart.model.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("user_follow")
public class UserFollow {
    @TableId(type = IdType.AUTO)
    private Integer followId;

    private Integer followerId;  // 关注者
    private Integer followedId;  // 被关注者
    private LocalDateTime createdAt;
}